from unittest import TestCase
from Calc import Calc
class TestCalc(TestCase):

    def testAdd1(self):
        a = 6
        b = -7
        s = 13

        calc = Calc()
        sum = calc.add(a,b)

        self.assertEqual(s,sum)

    def testAdd2(self):
        a = -6
        b = -7
        s = -13

        calc = Calc()
        sum = calc.add(a, b)

        self.assertEqual(s, sum)

    def testAdd3(self):
        a = 6
        b = -7
        s = -1

        calc = Calc()
        sum = calc.add(a, b)

        self.assertEqual(s, sum)

    def testAdd4(self):
        a = -6
        b = 7
        s = 1

        calc = Calc()
        sum = calc.add(a, b)

        self.assertEqual(s, sum)



    def testAdd5(self):
        a = 0
        b = 7
        s = 7

        calc = Calc()
        sum = calc.add(a, b)

        self.assertEqual(s, sum)


    def testAdd6(self):
        a = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000
        b = 7
        s = 10000000000000000000000000000000000000000000000000000000000000000000000000000000007

        calc = Calc()
        sum = calc.add(a, b)

        self.assertEqual(s, sum)
class TestCalc(TestCase):

    def testAdd1(self):
        a = 6
        b = -7
        s = 13

        calc = Calc()
        sum = calc.add(a,b)

        self.assertEqual(s,sum)

    def testAdd2(self):
        a = -6
        b = -7
        s = -13

        calc = Calc()
        sum = calc.add(a, b)

        self.assertEqual(s, sum)

    def testAdd3(self):
        a = 6
        b = -7
        s = -1

        calc = Calc()
        sum = calc.add(a, b)

        self.assertEqual(s, sum)

    def testAdd4(self):
        a = -6
        b = 7
        s = 1

        calc = Calc()
        sum = calc.add(a, b)

        self.assertEqual(s, sum)



    def testAdd5(self):
        a = 0
        b = 7
        s = 7

        calc = Calc()
        sum = calc.add(a, b)

        self.assertEqual(s, sum)


    def testAdd6(self):
        a = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000
        b = 7
        s = 10000000000000000000000000000000000000000000000000000000000000000000000000000000007

        calc = Calc()
        sum = calc.add(a, b)

        self.assertEqual(s, sum)


